Skip to content

chore(deps): bump ioredis from 5.11.1 to 6.0.0 - #238

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ioredis-6.0.0
Closed

chore(deps): bump ioredis from 5.11.1 to 6.0.0#238
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ioredis-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps ioredis from 5.11.1 to 6.0.0.

Release notes

Sourced from ioredis's releases.

v6.0.0

6.0.0 (2026-07-31)

Bug Fixes

  • clear stale socket timeout on reconnect (#2148) (6455dbe)
  • cluster: recreate stale connection on circular MOVED (#2135) (08c8967)
  • cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267
  • command: serialize large integer arguments in decimal notation (#2136) (09b8d04)
  • redis: keep reconnecting when connection closes during client setup (#2099) (#2123) (f9a66bc)
  • sentinel: preserve zero preferred slave priority (#2129) (a3f9f2d)
  • tracing: redact values for GETSET and PSETEX (#2134) (832765d)
  • types: export ScanStreamOptions, RedisStatus and ClusterStatus (#2158) (cf3bf71)

Features

BREAKING CHANGES

  • ioredis now requires Node.js 20 or newer and uses RESP3 by default. Set protocol: 2 to retain the v5 wire protocol.

v6.0.0-beta.1

6.0.0-beta.1 (2026-07-29)

Bug Fixes

  • clear stale socket timeout on reconnect (#2148) (6455dbe)
  • cluster: recreate stale connection on circular MOVED (#2135) (08c8967)
  • cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267
  • command: serialize large integer arguments in decimal notation (#2136) (09b8d04)
  • redis: keep reconnecting when connection closes during client setup (#2099) (#2123) (f9a66bc)
  • sentinel: preserve zero preferred slave priority (#2129) (a3f9f2d)
  • tracing: redact values for GETSET and PSETEX (#2134) (832765d)

... (truncated)

Changelog

Sourced from ioredis's changelog.

6.0.0 (2026-07-31)

Bug Fixes

  • clear stale socket timeout on reconnect (#2148) (6455dbe)
  • cluster: recreate stale connection on circular MOVED (#2135) (08c8967)
  • cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267
  • command: serialize large integer arguments in decimal notation (#2136) (09b8d04)
  • redis: keep reconnecting when connection closes during client setup (#2099) (#2123) (f9a66bc)
  • sentinel: preserve zero preferred slave priority (#2129) (a3f9f2d)
  • tracing: redact values for GETSET and PSETEX (#2134) (832765d)
  • types: export ScanStreamOptions, RedisStatus and ClusterStatus (#2158) (cf3bf71)

Features

BREAKING CHANGES

  • ioredis now requires Node.js 20 or newer and uses RESP3 by default. Set protocol: 2 to retain the v5 wire protocol.
Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 10, 2026
@dependabot
dependabot Bot requested a review from Musiker15 as a code owner August 10, 2026 04:28
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 10, 2026
Bumps [ioredis](https://github.com/redis/ioredis) from 5.11.1 to 6.0.0.
- [Release notes](https://github.com/redis/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](redis/ioredis@v5.11.1...v6.0.0)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@Musiker15

Copy link
Copy Markdown
Member

Superseded by #241, which bumps ioredis to the same 6.0.0 but also sets protocol: 2 on the client.

The bump on its own is green here, but that green is thinner than it looks: rate-limit.test.ts mocks the Redis client entirely, so no test opens a connection, and the CI service is the default user on localhost while production authenticates as the ACL user msk_forms. The RESP3 default in v6 is therefore never exercised against anything resembling the real server.

Since getRedis() is deliberately fail-open, a handshake the server rejects would not raise an error, it would silently stop rate limiting the public submit endpoint. Pinning the wire protocol keeps that off the table, and RESP3 can be adopted on purpose later.

@Musiker15 Musiker15 closed this Aug 17, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/ioredis-6.0.0 branch August 17, 2026 21:16
Musiker15 added a commit that referenced this pull request Aug 17, 2026
ioredis 6 negotiates RESP3 by default and requires Node 20+. The engine
requirement is already satisfied (>=22), but the protocol switch is not
covered by CI: the Redis client is fully mocked in the unit tests, and the
CI service runs the default user on localhost, while production connects as
an ACL user over an authenticated URL.

That combination is the problem. getRedis() is deliberately fail-open, so a
handshake that the server rejects would not surface as an error page or a
crash. Rate limiting on the public submit endpoint would simply stop
applying, leaving only a log line behind.

Set protocol: 2 to keep the v5 wire format. The only consumer is the fixed
window EVAL in the rate limiter, which gains nothing from RESP3, so there
is no reason to take that risk as a side effect of a version bump. RESP3
can be adopted later as its own change, verified against the live server.

Supersedes #238, which bumps the same dependency without the pin.
Musiker15 added a commit that referenced this pull request Aug 17, 2026
)

ioredis 6 negotiates RESP3 by default and requires Node 20+. The engine
requirement is already satisfied (>=22), but the protocol switch is not
covered by CI: the Redis client is fully mocked in the unit tests, and the
CI service runs the default user on localhost, while production connects as
an ACL user over an authenticated URL.

That combination is the problem. getRedis() is deliberately fail-open, so a
handshake that the server rejects would not surface as an error page or a
crash. Rate limiting on the public submit endpoint would simply stop
applying, leaving only a log line behind.

Set protocol: 2 to keep the v5 wire format. The only consumer is the fixed
window EVAL in the rate limiter, which gains nothing from RESP3, so there
is no reason to take that risk as a side effect of a version bump. RESP3
can be adopted later as its own change, verified against the live server.

Supersedes #238, which bumps the same dependency without the pin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant